package com.shangde.httptest;

import java.util.Date;

/**
 * 工作消息VO
 * @author Fanbeibei
 */
public class WorkMessageVo {

	/**
	 * 消息类型。
	 */
	private Integer type;
	/**
	 * 接收提醒的账号
	 */
	private String account;
	/**
	 * 账号类型,整型,1 - employeeId(员工ID),2 - 263账号，3 -手机号
	 */
	private int accountType;

	/**
	 * 消息名称(应用名称)
	 */
	private String name;

	/**
	 * 消息标题
	 */
	private String title;

	/**
	 * 消息内容
	 */
	private String content;

	/**
	 * 推送时间
	 */
	private Date pushTime;

	/**
	 * 消息的额外信息.格式为json，用于对特殊消息附加一些参数或其他额外信息。
	 */
	private String extra;

	/**
	 * 消息链接
	 */
	private String link;

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public String getAccount() {
		return account;
	}

	public void setAccount(String account) {
		this.account = account;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public Date getPushTime() {
		return pushTime;
	}

	public void setPushTime(Date pushTime) {
		this.pushTime = pushTime;
	}

	public String getLink() {
		return link;
	}

	public void setLink(String link) {
		this.link = link;
	}

	public String getExtra() {
		return extra;
	}

	public void setExtra(String extra) {
		this.extra = extra;
	}

	public int getAccountType() {
		return accountType;
	}

	public void setAccountType(int accountType) {
		this.accountType = accountType;
	}


	@Override
	public String toString() {
		return "WorkMessageVo{" +
				"type=" + type +
				", account='" + account + '\'' +
				", accountType=" + accountType +
				", name='" + name + '\'' +
				", title='" + title + '\'' +
				", content='" + content + '\'' +
				", pushTime=" + pushTime +
				", extra='" + extra + '\'' +
				", link='" + link + '\'' +
				'}';
	}
}
